package com.example.android.ui.searchHB;

import com.example.android.bean.SearchHB;
import com.example.android.network.RetrofitClientLocal;
import com.example.android.network.service.SearchService;

import java.util.List;

import io.reactivex.rxjava3.core.Flowable;

public class SearchHBModel implements SearchHBContract.ISearchHBModel {
    @Override
    public Flowable<List<SearchHB>> getHBBasisList(String type, String value, int low, int high) {
        return RetrofitClientLocal.getInstance().getService(SearchService.class).getHBBasisList(type,value,low,high);
    }
}
